home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1134 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.4 KB

  1. Subject: Re: load average patches for MiNT 1.10 + patches 
  2. Date: Thu, 03 Mar 1994 20:17:14 -0800
  3. From: Howard Chu <hyc@hanauma.jpl.nasa.gov>
  4.  
  5.  
  6.   Stephen Usher writes:
  7.   
  8.   > Here's the latest version of my uptime and load average patch for MiNT. The
  9.   > patch is relative to version 1.10 with most of the patches from the last
  10.   > week added.
  11.   > 
  12.   > This version now uses the 200Hz interrupt for timing so should keep the
  13.   > correct time on any machine with whatever monitor. The patches affect dos.c
  14.  ,
  15.   > intr.spp and proc.c and adds loadave.h. I'm also including below definition
  16.  s
  17.   > for mintbind.h.
  18.   
  19.    hmm.  i haven't tried but i would suggest just using the 200 Hz timer
  20.   counter (_hz_200) and doing calculations elsewhere...  because the 200 Hz
  21.   interrupt runs at level 6 and the longer you run at levels >= 5 (6) the
  22.   easier you lose characters on serial ports. (receiver overrun...)
  23.   
  24.    just a thought :)
  25.       Juergen
  26.   
  27.   PS: same goes for evnt_timer, and the keyboard/mouse/midi interrupts, etc.
  28.   btw could this also be the cause for Thierrys modem1 devices problems?
  29.   i think it does a few things in etv_timer too...
  30.  
  31. I had the same comment. Update the counter in the 200hz interrupt, read and
  32. calculate during vbl, in the sleep routine, etc. I thought, way back in the
  33. mists of time, that I saw MiNT saving the clock value at startup, but I no
  34. longer see anything like that in the 1.09 or 1.10 sources. Oh well, no
  35. matter...
  36.  
  37.